package com.icrazy.platform.exception;

/**
 * 处理业务异常
 * 
 * @author xiaofeng
 * @version 2012-3-9
 */
public class ServiceException extends PlatformException {

	private static final long serialVersionUID = 5168492212434785791L;

	private String method;

	public ServiceException(String message) {
		super(message);
	}

	public ServiceException(String message, String method) {
		super(message);
		this.method = method;
	}

	public ServiceException(String message, Throwable cause) {
		super(message, cause);
	}

	public String getMethod() {
		return method;
	}

	public void setMethod(String method) {
		this.method = method;
	}
}
